def wrapper(f):
    def inner(*args, **kwargs):
        #在这儿增加功能
        print("no zuo no die")
        res = f(*args, **kwargs)
        #如果要修改原函数的返回值，在这儿修改
        return res
    return inner


@wrapper
def func(name, age):
    print(name, age)
    return "lifeibiao is a good man"

print(func("lifeibiao",18))

@wrapper
def func2(height):
    print(height)
    print("=============")
func2(20)

